#include <iostream>

using namespace std;



void init_shuffle_arr(int arr[], int n){
    for(int i = 0; i < n; i ++){
        arr[i] = i + 1;
    }
}

void shuffle_arr(int arr[], int n){
    int temp = 0;

    for(int i = 0; i < n; i ++){
        int r1 = rand() % n;
        int r2 = rand() % n;
        int temp = arr[r1];
        arr[r1] = arr[r2];
        arr[r2] = temp;
    }
}

void print_arr(const int* arr, int n){
    for(int i = 0; i < n; i ++){
        std::cout<< arr[i] <<std::endl;
    }
}